import util from '../libs/util';
var qs = require('qs');

//申请提现
export function createWithdraw (values) {
    return util.ajax({
        url: 'http://biz.kuaibao365.com/withdraw/create',
        method: 'post',
        data:qs.stringify(values)
    })
}
//
//提现记录
export function getList (values) {
    return util.ajax({
        url: 'http://biz.kuaibao365.com/withdraw/get_list',
        method: 'post',
        data:qs.stringify(values)
    })
}

//申请撤销提现
export function revocationWithdraw (values) {
    return util.ajax({
        url: 'http://biz.kuaibao365.com/withdraw/revocation',
        method: 'post',
        data:qs.stringify(values)
    })
}

//提现处理操作
export function setWithdraw (values) {
    return util.ajax({
        url: 'http://biz.kuaibao365.com/withdraw/set',
        method: 'post',
        data:qs.stringify(values)
    })
}